EXEC       = test

SRC_FILES  = libsqlitecpp.cpp test.cpp
O_FILES    = $(SRC_FILES:%.cpp=%.o)

CC         = g++
CCFLAGS    = -g

LDLIBS     = -lsqlite3


all: $(EXEC)

$(EXEC): $(O_FILES)
	-   $(CC) $(LDLIBS) -o $(EXEC) $(O_FILES)

%.o: %.cpp
	-   $(CC) $(CCFLAGS) -c -o $@ $<

clean:
	-   rm $(O_FILES) $(EXEC)

